package com.example.demo.client.vm.cssmqry.user;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.ibatis.type.Alias;

import java.io.Serializable;
import java.util.Date;

/**
 * @Desc
 * @Author zhengmf
 * @Date 2019-12-18 11:42:03
 */
@Alias("UserVm")
@ApiModel("用户")
public class UserVm implements Serializable {
    private static final long serialVersionUID = -1001429392929208102L;
    @ApiModelProperty("用户ID")
    private Long userId;
    @ApiModelProperty("登录名")
    private String loginName;
    @ApiModelProperty("昵称")
    private String alias;
    @ApiModelProperty("用户状态")
    private String status;
    @ApiModelProperty("用户类型")
    private String userType;
    @ApiModelProperty("手机号码")
    private String telephone;
    @ApiModelProperty("邮箱")
    private String email;
    @ApiModelProperty("办公电话")
    private String officePhone;
    @ApiModelProperty("区域ID")
    private Long regionId;
    @ApiModelProperty("组织机构ID")
    private Long orgId;
    @ApiModelProperty("组织机构名称")
    private String orgName;
    @ApiModelProperty("性别")
    private String sex;
    @ApiModelProperty("身份证号码")
    private String pid;
    @ApiModelProperty("描述")
    private String description;
    @ApiModelProperty("密码更新时间")
    private Date pwdUpdateTime;
    @ApiModelProperty("全量区域，用/分隔")
    private String fullRegionName;
    @ApiModelProperty("全量区域ID，用,拼接")
    private String fullRegion;
    @ApiModelProperty("工号")
    private String jobNumber;

    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public void setAlias(String alias) {
        this.alias = alias;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public void setUserType(String userType) {
        this.userType = userType;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public void setOfficePhone(String officePhone) {
        this.officePhone = officePhone;
    }

    public void setRegionId(Long regionId) {
        this.regionId = regionId;
    }

    public void setOrgId(Long orgId) {
        this.orgId = orgId;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public void setPwdUpdateTime(Date pwdUpdateTime) {
        this.pwdUpdateTime = pwdUpdateTime;
    }

    public void setFullRegionName(String fullRegionName) {
        this.fullRegionName = fullRegionName;
    }

    public void setFullRegion(String fullRegion) {
        this.fullRegion = fullRegion;
    }

    public void setJobNumber(String jobNumber) {
        this.jobNumber = jobNumber;
    }

    public Long getUserId() {
        return userId;
    }

    public String getLoginName() {
        return loginName;
    }

    public String getAlias() {
        return alias;
    }

    public String getStatus() {
        return status;
    }

    public String getUserType() {
        return userType;
    }

    public String getTelephone() {
        return telephone;
    }

    public String getEmail() {
        return email;
    }

    public String getOfficePhone() {
        return officePhone;
    }

    public Long getRegionId() {
        return regionId;
    }

    public Long getOrgId() {
        return orgId;
    }

    public String getSex() {
        return sex;
    }

    public String getPid() {
        return pid;
    }

    public String getDescription() {
        return description;
    }

    public Date getPwdUpdateTime() {
        return pwdUpdateTime;
    }

    public String getFullRegionName() {
        return fullRegionName;
    }

    public String getFullRegion() {
        return fullRegion;
    }

    public String getJobNumber() {
        return jobNumber;
    }

    @Override
    public String toString() {
        return "UserVm{" +
            "userId=" + userId +
            ", loginName='" + loginName + '\'' +
            ", alias='" + alias + '\'' +
            ", status='" + status + '\'' +
            ", userType='" + userType + '\'' +
            ", telephone='" + telephone + '\'' +
            ", email='" + email + '\'' +
            ", officePhone='" + officePhone + '\'' +
            ", regionId=" + regionId +
            ", orgId=" + orgId +
            ", orgName='" + orgName + '\'' +
            ", sex='" + sex + '\'' +
            ", pid='" + pid + '\'' +
            ", description='" + description + '\'' +
            ", pwdUpdateTime=" + pwdUpdateTime +
            ", fullRegionName='" + fullRegionName + '\'' +
            ", fullRegion='" + fullRegion + '\'' +
            ", jobNumber='" + jobNumber + '\'' +
            '}';
    }
}
